package com.dys.testpolymorphic;

/**
 * @className: com.dys.testpolymorphic.Animal
 * @description: 子类向上泛化为父类
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/07/20 下午11:29
 */
public class Animal {
    int age;

    public void shout() {
        System.out.println("动物叫的方法....");
    }
}
